projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f15bc0
)
i2c:gpio:s5p: Enable I2C GPIO on the GONI target
author
Łukasz Majewski
<
[email protected]
>
Mon, 22 Aug 2011 22:34:59 +0000
(22:34 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Sun, 4 Sep 2011 09:36:15 +0000
(11:36 +0200)
This patch enables the software I2C for GONI reference target.
Signed-off-by: Lukasz Majewski <
[email protected]
>
Signed-off-by: Kyungmin Park <
[email protected]
>
Signed-off-by: Minkyu Kang <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
include/configs/s5p_goni.h
patch
|
blob
|
history
diff --git
a/include/configs/s5p_goni.h
b/include/configs/s5p_goni.h
index a5aa859c0cc03488cf8820c65f0eb74d68e37485..6d0058f8e86747631ccc274301a5219a4b7ca13e 100644
(file)
--- a/
include/configs/s5p_goni.h
+++ b/
include/configs/s5p_goni.h
@@
-220,4
+220,16
@@
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)
+#include <asm/arch/gpio.h>
+/*
+ * I2C Settings
+ */
+#define CONFIG_SOFT_I2C_GPIO_SCL s5pc110_gpio_get_nr(j4, 3)
+#define CONFIG_SOFT_I2C_GPIO_SDA s5pc110_gpio_get_nr(j4, 0)
+
+#define CONFIG_SOFT_I2C 1
+#define CONFIG_SYS_I2C_SPEED 50000
+#define CONFIG_I2C_MULTI_BUS
+#define CONFIG_SYS_MAX_I2C_BUS 7
+
#endif /* __CONFIG_H */